class UserCoupon < ApplicationRecord
  enum state: [:unused, :used, :overdue]

  belongs_to :user
  belongs_to :coupon
  belongs_to :order, optional: true
end
